function createSilverlight()
{
	var scene = new BinaryJamSFSPart.Scene ("dave", ".");
	Silverlight.createObjectEx({
		source: "Scene.xaml",
		parentElement: document.getElementById("SilverlightControlHost"),
		id: "SilverlightControl",
		properties: {
			width: "100%",
			height: "100%",
			version: "1.0"
		},
		events: {
			onLoad: BinaryJamSFSPart.createDelegate(scene, scene.handleLoad )
		}
	});
}

	
